package com.spelet;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;

public class StaticSprites {
	
	// UI
	public static Sprite exit;
	
	// Bee
	public static Sprite[] beeAnimation;
	public static Sprite[] walls;
	public static int[] wallTranslation;
	// Blocks
	public static Sprite[] blockAnimation;
	public static Sprite[] moveblockRight;
	public static Sprite[] moveblockLeft;
	public static Sprite[] moveblockDown;
	public static Sprite[] moveblockUp;
	public static Sprite[] boulderRight;
	public static Sprite[] boulderLeft;
	public static Sprite[] boulderUp;
	public static Sprite[] boulderDown;
	public static Sprite[] redkey;
	public static Sprite[] bluekey;
	public static Sprite[] yellowkey;
	public static Sprite[] fallDownHole;
	public static Sprite[] dooropening;
	public static Sprite[] dooropeningB;
	public static Sprite[] dooropeningY;
	public static Sprite[] mergeBlockBaseAnim;
	public static Sprite[] mergeMergeHori;
	public static Sprite[] mergeMergeVerti;
	public static Sprite[] mergeLeft;
	public static Sprite[] mergeRight;
	public static Sprite[] mergeUp;
	public static Sprite[] mergeDown;
	public static Sprite[] goal;
	public static Sprite moveBlockBase, boulderBase,boulderBaseR;
	// Terrain
	public static Sprite[] fillHole;
	public static Sprite[] holeAnim;
	public static Sprite[] dirtboulder;
	public static Sprite[] dirtboulderright;
	public static Sprite[] dirtboulderup;
	public static Sprite[] dirtboulderdown;
	public static Sprite[] dirtAnim;
	public static Sprite[] dirtAnimLeft;
	public static Sprite[] dirtAnimDown;
	public static Sprite[] dirtAnimUp;
	public static Sprite[] buttonpressed;
	public static Sprite[] bluebuttonpressed;
	public static Sprite[] pillar;
	public static Sprite[] bpillar;
	public static Sprite[] dirt;
	public static Sprite[] grass;
	public static Sprite flower;
	public static Sprite beehive;
	public static Sprite lamp;
	// Main Menu
	public static Sprite[] mainbg;
	public static Sprite mainskybg;
	public static Sprite[] mainmenuclouds;
	public static Sprite[] flare;
	public static Sprite mainmenuplay;
	public static Sprite mainmenuleveledit;
	public static Sprite mainmenulevelselect;
	public static Sprite mainmenucustomlevels;
	public static Sprite mainmenuexit;
	public static Sprite title;
	public static Sprite mainhatman;
	public static Sprite mainhatman2;
	public static Sprite[] levelNames;

	// MapEdit
	public static Sprite dragDown;
	public static Sprite dragRight;
	public static Sprite dragDownS;
	public static Sprite dragRightS;
	public static Sprite addRow;
	public static Sprite removeRow;
	public static Sprite meBlocks;
	public static Sprite meTerrain;
	public static Sprite save;
	public static Sprite load;
	public static Sprite resize;
	public static Sprite test;
	public static Sprite objects;
	public static Sprite terrain;
	// ChooseBlockBrush
	public static Sprite[] cbbSprites;
	// ChooseTerrainBrush
	public static Sprite[] ctbSprites;
	// ViewBar
	public static Sprite wallEdges;
	public static Sprite ghmViewbar;
	
	// Lights
	public static Sprite whitePointLight;
	public static void initiate() {
		beeAnimation = new Sprite[7];
		beeAnimation[0] = StaticTextures.bee.createSprite("bee1");
		beeAnimation[1] = StaticTextures.bee.createSprite("bee2");
		beeAnimation[2] = StaticTextures.bee.createSprite("bee3");
		beeAnimation[3] = StaticTextures.bee.createSprite("bee4");
		beeAnimation[4] = StaticTextures.bee.createSprite("bee5");
		beeAnimation[5] = StaticTextures.bee.createSprite("bee6");
		beeAnimation[6] = StaticTextures.bee.createSprite("bee7");
		
		walls = new Sprite[46];
		wallTranslation = new int[256];
		walls[0] = StaticTextures.walls.createSprite("wallthinsquare");
		walls[1] = StaticTextures.walls.createSprite("wallthinverticalbotend");
		walls[2] = StaticTextures.walls.createSprite("wallthinhorizontalrightend");
		walls[3] = StaticTextures.walls.createSprite("wallthinhorizontalrightup");
		walls[4] = StaticTextures.walls.createSprite("wallbotright");
		walls[5] = StaticTextures.walls.createSprite("wallthinhorizontalleftend");
		walls[6] = StaticTextures.walls.createSprite("wallthinhorizontalleftup");
		walls[7] = StaticTextures.walls.createSprite("wallbotleft");
		walls[8] = StaticTextures.walls.createSprite("wallthinhorizontal");
		walls[9] = StaticTextures.walls.createSprite("wallthinhorizontalsplitup");
		walls[10] = StaticTextures.walls.createSprite("wallfathorizontalthinright");
		walls[11] = StaticTextures.walls.createSprite("wallfathorizontalthinleft");
		walls[12] = StaticTextures.walls.createSprite("wallbotside");
		walls[13] = StaticTextures.walls.createSprite("wallthinverticaltopend");
		walls[14] = StaticTextures.walls.createSprite("wallthinvertical");
		walls[15] = StaticTextures.walls.createSprite("wallthinhorizontalrightdown");
		walls[16] = StaticTextures.walls.createSprite("wallthinverticalsplitleft");
		walls[17] = StaticTextures.walls.createSprite("wallfatverticalthinbot2");
		walls[18] = StaticTextures.walls.createSprite("wallthinhorizontalleftdown");
		walls[19] = StaticTextures.walls.createSprite("wallthinverticalsplitright");
		walls[20] = StaticTextures.walls.createSprite("wallfatverticalthinbot");
		walls[21] = StaticTextures.walls.createSprite("wallthinhorizontalsplitdown");
		walls[22] = StaticTextures.walls.createSprite("wallthinsplitfourway");
		walls[23] = StaticTextures.walls.createSprite("wallthinsplitthreeway1");
		walls[24] = StaticTextures.walls.createSprite("wallthinsplitthreeway2");
		walls[25] = StaticTextures.walls.createSprite("wallfathorizontalsplitdown");
		walls[26] = StaticTextures.walls.createSprite("walltopright");
		walls[27] = StaticTextures.walls.createSprite("wallfatverticalthintop2");
		walls[28] = StaticTextures.walls.createSprite("wallleftside");
		walls[29] = StaticTextures.walls.createSprite("wallfathorizontalthinright2");
		walls[30] = StaticTextures.walls.createSprite("wallfatverticalsplitright");
		walls[31] = StaticTextures.walls.createSprite("wallthinsplittwoway");
		walls[32] = StaticTextures.walls.createSprite("wallincornertopleft");
		walls[33] = StaticTextures.walls.createSprite("walltopleft");
		walls[34] = StaticTextures.walls.createSprite("wallfatverticalthintop");
		walls[35] = StaticTextures.walls.createSprite("wallrightside");
		walls[36] = StaticTextures.walls.createSprite("wallfathorizontalthinleft2");
		walls[37] = StaticTextures.walls.createSprite("wallthinsplitthreeway3");
		walls[38] = StaticTextures.walls.createSprite("wallthinsplittwoway2");
		walls[39] = StaticTextures.walls.createSprite("wallfatverticalsplitleft");
		walls[40] = StaticTextures.walls.createSprite("wallincornertopright");
		walls[41] = StaticTextures.walls.createSprite("walltopside");
		walls[42] = StaticTextures.walls.createSprite("wallfathorizontalsplitup");
		walls[43] = StaticTextures.walls.createSprite("wallincornerbotleft");
		walls[44] = StaticTextures.walls.createSprite("wallincornerbotright");
		walls[45] = StaticTextures.walls.createSprite("wall");

		wallTranslation[0] = 0;
		wallTranslation[1] = 0;
		wallTranslation[2] = 1;
		wallTranslation[3] = 1;
		wallTranslation[4] = 0;
		wallTranslation[5] = 0;
		wallTranslation[6] = 1;
		wallTranslation[7] = 1;
		wallTranslation[8] = 2;
		wallTranslation[9] = 2;
		wallTranslation[10] = 3;
		wallTranslation[11] = 4;
		wallTranslation[12] = 2;
		wallTranslation[13] = 2;
		wallTranslation[14] = 3;
		wallTranslation[15] = 4;
		wallTranslation[16] = 5;
		wallTranslation[17] = 5;
		wallTranslation[18] = 6;
		wallTranslation[19] = 6;
		wallTranslation[20] = 5;
		wallTranslation[21] = 5;
		wallTranslation[22] = 7;
		wallTranslation[23] = 7;
		wallTranslation[24] = 8;
		wallTranslation[25] = 8;
		wallTranslation[26] = 9;
		wallTranslation[27] = 10;
		wallTranslation[28] = 8;
		wallTranslation[29] = 8;
		wallTranslation[30] = 11;
		wallTranslation[31] = 12;
		wallTranslation[32] = 0;
		wallTranslation[33] = 0;
		wallTranslation[34] = 1;
		wallTranslation[35] = 1;
		wallTranslation[36] = 0;
		wallTranslation[37] = 0;
		wallTranslation[38] = 1;
		wallTranslation[39] = 1;
		wallTranslation[40] = 2;
		wallTranslation[41] = 2;
		wallTranslation[42] = 3;
		wallTranslation[43] = 4;
		wallTranslation[44] = 2;
		wallTranslation[45] = 2;
		wallTranslation[46] = 3;
		wallTranslation[47] = 4;
		wallTranslation[48] = 5;
		wallTranslation[49] = 5;
		wallTranslation[50] = 6;
		wallTranslation[51] = 6;
		wallTranslation[52] = 5;
		wallTranslation[53] = 5;
		wallTranslation[54] = 7;
		wallTranslation[55] = 7;
		wallTranslation[56] = 8;
		wallTranslation[57] = 8;
		wallTranslation[58] = 9;
		wallTranslation[59] = 10;
		wallTranslation[60] = 8;
		wallTranslation[61] = 8;
		wallTranslation[62] = 11;
		wallTranslation[63] = 12;
		wallTranslation[64] = 13;
		wallTranslation[65] = 13;
		wallTranslation[66] = 14;
		wallTranslation[67] = 14;
		wallTranslation[68] = 13;
		wallTranslation[69] = 13;
		wallTranslation[70] = 14;
		wallTranslation[71] = 14;
		wallTranslation[72] = 15;
		wallTranslation[73] = 15;
		wallTranslation[74] = 16;
		wallTranslation[75] = 17;
		wallTranslation[76] = 15;
		wallTranslation[77] = 15;
		wallTranslation[78] = 16;
		wallTranslation[79] = 17;
		wallTranslation[80] = 18;
		wallTranslation[81] = 18;
		wallTranslation[82] = 19;
		wallTranslation[83] = 19;
		wallTranslation[84] = 18;
		wallTranslation[85] = 18;
		wallTranslation[86] = 20;
		wallTranslation[87] = 20;
		wallTranslation[88] = 21;
		wallTranslation[89] = 21;
		wallTranslation[90] = 22;
		wallTranslation[91] = 23;
		wallTranslation[92] = 21;
		wallTranslation[93] = 21;
		wallTranslation[94] = 24;
		wallTranslation[95] = 25;
		wallTranslation[96] = 13;
		wallTranslation[97] = 13;
		wallTranslation[98] = 14;
		wallTranslation[99] = 14;
		wallTranslation[100] = 13;
		wallTranslation[101] = 13;
		wallTranslation[102] = 14;
		wallTranslation[103] = 14;
		wallTranslation[104] = 26;
		wallTranslation[105] = 26;
		wallTranslation[106] = 27;
		wallTranslation[107] = 28;
		wallTranslation[108] = 26;
		wallTranslation[109] = 26;
		wallTranslation[110] = 27;
		wallTranslation[111] = 28;
		wallTranslation[112] = 18;
		wallTranslation[113] = 18;
		wallTranslation[114] = 19;
		wallTranslation[115] = 19;
		wallTranslation[116] = 18;
		wallTranslation[117] = 18;
		wallTranslation[118] = 20;
		wallTranslation[119] = 20;
		wallTranslation[120] = 29;
		wallTranslation[121] = 29;
		wallTranslation[122] = 30;
		wallTranslation[123] = 30;
		wallTranslation[124] = 29;
		wallTranslation[125] = 29;
		wallTranslation[126] = 31;
		wallTranslation[127] = 32;
		wallTranslation[128] = 0;
		wallTranslation[129] = 0;
		wallTranslation[130] = 1;
		wallTranslation[131] = 1;
		wallTranslation[132] = 0;
		wallTranslation[133] = 0;
		wallTranslation[134] = 1;
		wallTranslation[135] = 1;
		wallTranslation[136] = 2;
		wallTranslation[137] = 2;
		wallTranslation[138] = 3;
		wallTranslation[139] = 4;
		wallTranslation[140] = 2;
		wallTranslation[141] = 2;
		wallTranslation[142] = 3;
		wallTranslation[143] = 4;
		wallTranslation[144] = 5;
		wallTranslation[145] = 5;
		wallTranslation[146] = 6;
		wallTranslation[147] = 6;
		wallTranslation[148] = 5;
		wallTranslation[149] = 5;
		wallTranslation[150] = 7;
		wallTranslation[151] = 7;
		wallTranslation[152] = 8;
		wallTranslation[153] = 8;
		wallTranslation[154] = 9;
		wallTranslation[155] = 10;
		wallTranslation[156] = 8;
		wallTranslation[157] = 8;
		wallTranslation[158] = 11;
		wallTranslation[159] = 12;
		wallTranslation[160] = 0;
		wallTranslation[161] = 0;
		wallTranslation[162] = 1;
		wallTranslation[163] = 1;
		wallTranslation[164] = 0;
		wallTranslation[165] = 0;
		wallTranslation[166] = 1;
		wallTranslation[167] = 1;
		wallTranslation[168] = 2;
		wallTranslation[169] = 2;
		wallTranslation[170] = 3;
		wallTranslation[171] = 4;
		wallTranslation[172] = 2;
		wallTranslation[173] = 2;
		wallTranslation[174] = 3;
		wallTranslation[175] = 4;
		wallTranslation[176] = 5;
		wallTranslation[177] = 5;
		wallTranslation[178] = 6;
		wallTranslation[179] = 6;
		wallTranslation[180] = 5;
		wallTranslation[181] = 5;
		wallTranslation[182] = 7;
		wallTranslation[183] = 7;
		wallTranslation[184] = 8;
		wallTranslation[185] = 8;
		wallTranslation[186] = 9;
		wallTranslation[187] = 10;
		wallTranslation[188] = 8;
		wallTranslation[189] = 8;
		wallTranslation[190] = 11;
		wallTranslation[191] = 12;
		wallTranslation[192] = 13;
		wallTranslation[193] = 13;
		wallTranslation[194] = 14;
		wallTranslation[195] = 14;
		wallTranslation[196] = 13;
		wallTranslation[197] = 13;
		wallTranslation[198] = 14;
		wallTranslation[199] = 14;
		wallTranslation[200] = 15;
		wallTranslation[201] = 15;
		wallTranslation[202] = 16;
		wallTranslation[203] = 17;
		wallTranslation[204] = 15;
		wallTranslation[205] = 15;
		wallTranslation[206] = 16;
		wallTranslation[207] = 17;
		wallTranslation[208] = 33;
		wallTranslation[209] = 33;
		wallTranslation[210] = 34;
		wallTranslation[211] = 34;
		wallTranslation[212] = 33;
		wallTranslation[213] = 33;
		wallTranslation[214] = 35;
		wallTranslation[215] = 35;
		wallTranslation[216] = 36;
		wallTranslation[217] = 36;
		wallTranslation[218] = 37;
		wallTranslation[219] = 38;
		wallTranslation[220] = 36;
		wallTranslation[221] = 36;
		wallTranslation[222] = 39;
		wallTranslation[223] = 40;
		wallTranslation[224] = 13;
		wallTranslation[225] = 13;
		wallTranslation[226] = 14;
		wallTranslation[227] = 14;
		wallTranslation[228] = 13;
		wallTranslation[229] = 13;
		wallTranslation[230] = 14;
		wallTranslation[231] = 14;
		wallTranslation[232] = 26;
		wallTranslation[233] = 26;
		wallTranslation[234] = 27;
		wallTranslation[235] = 28;
		wallTranslation[236] = 26;
		wallTranslation[237] = 26;
		wallTranslation[238] = 27;
		wallTranslation[239] = 28;
		wallTranslation[240] = 33;
		wallTranslation[241] = 33;
		wallTranslation[242] = 34;
		wallTranslation[243] = 34;
		wallTranslation[244] = 33;
		wallTranslation[245] = 33;
		wallTranslation[246] = 35;
		wallTranslation[247] = 35;
		wallTranslation[248] = 41;
		wallTranslation[249] = 41;
		wallTranslation[250] = 42;
		wallTranslation[251] = 43;
		wallTranslation[252] = 41;
		wallTranslation[253] = 41;
		wallTranslation[254] = 44;
		wallTranslation[255] = 45;

		redkey = new Sprite[5];
		redkey[0] = StaticTextures.keys.createSprite("redkey");
		redkey[1] = StaticTextures.keys.createSprite("redkey1");
		redkey[2] = StaticTextures.keys.createSprite("redkey2");
		redkey[3] = StaticTextures.keys.createSprite("redkey3");
		redkey[4] = StaticTextures.keys.createSprite("redkey4");

		bluekey = new Sprite[5];
		bluekey[0] = new Sprite(new Texture(Gdx.files.internal("data/keys/bluekey.png")));
		bluekey[1] = StaticTextures.keys.createSprite("bluekey1");
		bluekey[2] = StaticTextures.keys.createSprite("bluekey2");
		bluekey[3] = StaticTextures.keys.createSprite("bluekey3");
		bluekey[4] = StaticTextures.keys.createSprite("bluekey");

		yellowkey = new Sprite[5];
		yellowkey[0] = new Sprite(new Texture(Gdx.files.internal("data/keys/yellowkey.png")));
		yellowkey[1] = StaticTextures.keys.createSprite("yellowkey1");
		yellowkey[2] = StaticTextures.keys.createSprite("yellowkey2");
		yellowkey[3] = StaticTextures.keys.createSprite("yellowkey3");
		yellowkey[4] = StaticTextures.keys.createSprite("yellowkey4");


		moveblockRight = new Sprite[9];
		moveblockRight[0] = StaticTextures.moveBlock.createSprite("pushblockleft8");
		moveblockRight[1] = StaticTextures.moveBlock.createSprite("pushblock1");
		moveblockRight[2] = StaticTextures.moveBlock.createSprite("pushblock2");
		moveblockRight[3] = StaticTextures.moveBlock.createSprite("pushblock3");
		moveblockRight[4] = StaticTextures.moveBlock.createSprite("pushblock4");
		moveblockRight[5] = StaticTextures.moveBlock.createSprite("pushblock5");
		moveblockRight[6] = StaticTextures.moveBlock.createSprite("pushblock6");
		moveblockRight[7] = StaticTextures.moveBlock.createSprite("pushblock7");
		moveblockRight[8] = StaticTextures.moveBlock.createSprite("pushblock8");
		moveblockLeft = new Sprite[9];
		moveblockLeft[0] = StaticTextures.moveBlock.createSprite("pushblock8");
		moveblockLeft[1] = StaticTextures.moveBlock.createSprite("pushblockleft1");
		moveblockLeft[2] = StaticTextures.moveBlock.createSprite("pushblockleft2");
		moveblockLeft[3] = StaticTextures.moveBlock.createSprite("pushblockleft3");
		moveblockLeft[4] = StaticTextures.moveBlock.createSprite("pushblockleft4");
		moveblockLeft[5] = StaticTextures.moveBlock.createSprite("pushblockleft5");
		moveblockLeft[6] = StaticTextures.moveBlock.createSprite("pushblockleft6");
		moveblockLeft[7] = StaticTextures.moveBlock.createSprite("pushblockleft7");
		moveblockLeft[8] = StaticTextures.moveBlock.createSprite("pushblock0");
		moveblockDown = new Sprite[10];
		moveblockDown[0] = StaticTextures.moveBlock.createSprite("pushblockdown0");
		moveblockDown[1] = StaticTextures.moveBlock.createSprite("pushblockdown1");
		moveblockDown[2] = StaticTextures.moveBlock.createSprite("pushblockdown2");
		moveblockDown[3] = StaticTextures.moveBlock.createSprite("pushblockdown3");
		moveblockDown[4] = StaticTextures.moveBlock.createSprite("pushblockdown4");
		moveblockDown[5] = StaticTextures.moveBlock.createSprite("pushblockdown5");
		moveblockDown[6] = StaticTextures.moveBlock.createSprite("pushblockdown6");
		moveblockDown[7] = StaticTextures.moveBlock.createSprite("pushblockdown7");
		moveblockDown[8] = StaticTextures.moveBlock.createSprite("pushblockdown8");
		moveblockDown[9] = StaticTextures.moveBlock.createSprite("pushblockdown9");
		moveblockUp = new Sprite[10];
		moveblockUp[0] = StaticTextures.moveBlock.createSprite("pushblockup0");
		moveblockUp[1] = StaticTextures.moveBlock.createSprite("pushblockup1");
		moveblockUp[2] = StaticTextures.moveBlock.createSprite("pushblockup2");
		moveblockUp[3] = StaticTextures.moveBlock.createSprite("pushblockup3");
		moveblockUp[4] = StaticTextures.moveBlock.createSprite("pushblockup4");
		moveblockUp[5] = StaticTextures.moveBlock.createSprite("pushblockup5");
		moveblockUp[6] = StaticTextures.moveBlock.createSprite("pushblockup6");
		moveblockUp[7] = StaticTextures.moveBlock.createSprite("pushblockup7");
		moveblockUp[8] = StaticTextures.moveBlock.createSprite("pushblockup8");
		moveblockUp[9] = StaticTextures.moveBlock.createSprite("pushblockup9");

		boulderRight = new Sprite[8];
		boulderRight[0] = StaticTextures.boulder.createSprite("b2");
		boulderRight[1] = StaticTextures.boulder.createSprite("b3");
		boulderRight[2] = StaticTextures.boulder.createSprite("b4");
		boulderRight[3] = StaticTextures.boulder.createSprite("b5");
		boulderRight[4] = StaticTextures.boulder.createSprite("b6");
		boulderRight[5] = StaticTextures.boulder.createSprite("b7");
		boulderRight[6] = StaticTextures.boulder.createSprite("b8");
		boulderRight[7] = StaticTextures.boulder.createSprite("b9");

		boulderDown = new Sprite[8];
		boulderDown[0] = StaticTextures.boulder.createSprite("bd2");
		boulderDown[1] = StaticTextures.boulder.createSprite("bd3");
		boulderDown[2] = StaticTextures.boulder.createSprite("bd4");
		boulderDown[3] = StaticTextures.boulder.createSprite("bd5");
		boulderDown[4] = StaticTextures.boulder.createSprite("bd6");
		boulderDown[5] = StaticTextures.boulder.createSprite("bd7");
		boulderDown[6] = StaticTextures.boulder.createSprite("bd8");
		boulderDown[7] = StaticTextures.boulder.createSprite("bd9");

		boulderUp = new Sprite[8];
		boulderUp[0] = StaticTextures.boulder.createSprite("bu2");
		boulderUp[1] = StaticTextures.boulder.createSprite("bu3");
		boulderUp[2] = StaticTextures.boulder.createSprite("bu4");
		boulderUp[3] = StaticTextures.boulder.createSprite("bu5");
		boulderUp[4] = StaticTextures.boulder.createSprite("bu6");
		boulderUp[5] = StaticTextures.boulder.createSprite("bu7");
		boulderUp[6] = StaticTextures.boulder.createSprite("bu8");
		boulderUp[7] = StaticTextures.boulder.createSprite("bu9");

		boulderLeft = new Sprite[8];
		boulderLeft[0] = StaticTextures.boulder.createSprite("bl2");
		boulderLeft[1] = StaticTextures.boulder.createSprite("bl3");
		boulderLeft[2] = StaticTextures.boulder.createSprite("bl4");
		boulderLeft[3] = StaticTextures.boulder.createSprite("bl5");
		boulderLeft[4] = StaticTextures.boulder.createSprite("bl6");
		boulderLeft[5] = StaticTextures.boulder.createSprite("bl7");
		boulderLeft[6] = StaticTextures.boulder.createSprite("bl8");
		boulderLeft[7] = StaticTextures.boulder.createSprite("bl9");

		dooropening = new Sprite[7];
		dooropening[0] = StaticTextures.doors.createSprite("door1");
		dooropening[1] = StaticTextures.doors.createSprite("door2");
		dooropening[2] = StaticTextures.doors.createSprite("door3");
		dooropening[3] = StaticTextures.doors.createSprite("door4");
		dooropening[4] = StaticTextures.doors.createSprite("door5");
		dooropening[5] = StaticTextures.doors.createSprite("door6");
		dooropening[6] = StaticTextures.doors.createSprite("door7");

		dooropeningB = new Sprite[7];
		dooropeningB[0] = StaticTextures.doors.createSprite("doorb1");
		dooropeningB[1] = StaticTextures.doors.createSprite("doorb2");
		dooropeningB[2] = StaticTextures.doors.createSprite("doorb3");
		dooropeningB[3] = StaticTextures.doors.createSprite("doorb4");
		dooropeningB[4] = StaticTextures.doors.createSprite("doorb5");
		dooropeningB[5] = StaticTextures.doors.createSprite("doorb6");
		dooropeningB[6] = StaticTextures.doors.createSprite("doorb7");
		
		dooropeningY = new Sprite[7];
		dooropeningY[0] = StaticTextures.doors.createSprite("doory1");
		dooropeningY[1] = StaticTextures.doors.createSprite("doory2");
		dooropeningY[2] = StaticTextures.doors.createSprite("doory3");
		dooropeningY[3] = StaticTextures.doors.createSprite("doory4");
		dooropeningY[4] = StaticTextures.doors.createSprite("doory5");
		dooropeningY[5] = StaticTextures.doors.createSprite("doory6");
		dooropeningY[6] = StaticTextures.doors.createSprite("doory7");
		
		mergeBlockBaseAnim = new Sprite[6];
		mergeBlockBaseAnim[0] = StaticTextures.mergeBlocks.createSprite("mergeglobe0");
		mergeBlockBaseAnim[1] = StaticTextures.mergeBlocks.createSprite("mergeglobe1");
		mergeBlockBaseAnim[2] = StaticTextures.mergeBlocks.createSprite("mergeglobe2");
		mergeBlockBaseAnim[3] = StaticTextures.mergeBlocks.createSprite("mergeglobe3");
		mergeBlockBaseAnim[4] = StaticTextures.mergeBlocks.createSprite("mergeglobe4");
		mergeBlockBaseAnim[5] = StaticTextures.mergeBlocks.createSprite("mergeglobe5");
		
		mergeMergeHori = new Sprite[22];
		mergeMergeHori[0] = StaticTextures.mergeMergeHori.createSprite("mergehorizont0");
		mergeMergeHori[1] = StaticTextures.mergeMergeHori.createSprite("mergehorizont1");
		mergeMergeHori[2] = StaticTextures.mergeMergeHori.createSprite("mergehorizont2");
		mergeMergeHori[3] = StaticTextures.mergeMergeHori.createSprite("mergehorizont3");
		mergeMergeHori[4] = StaticTextures.mergeMergeHori.createSprite("mergehorizont4");
		mergeMergeHori[5] = StaticTextures.mergeMergeHori.createSprite("mergehorizont5");
		mergeMergeHori[6] = StaticTextures.mergeMergeHori.createSprite("mergehorizont6");
		mergeMergeHori[7] = StaticTextures.mergeMergeHori.createSprite("mergehorizont7");
		mergeMergeHori[8] = StaticTextures.mergeMergeHori.createSprite("mergehorizont8");
		mergeMergeHori[9] = StaticTextures.mergeMergeHori.createSprite("mergehorizont9");
		mergeMergeHori[10] = StaticTextures.mergeMergeHori.createSprite("mergehorizont10");
		mergeMergeHori[11] = StaticTextures.mergeMergeHori.createSprite("mergehorizont11");
		mergeMergeHori[12] = StaticTextures.mergeMergeHori.createSprite("mergehorizont12");
		mergeMergeHori[13] = StaticTextures.mergeMergeHori.createSprite("mergehorizont13");
		mergeMergeHori[14] = StaticTextures.mergeMergeHori.createSprite("mergehorizont14");
		mergeMergeHori[15] = StaticTextures.mergeMergeHori.createSprite("mergehorizont15");
		mergeMergeHori[16] = StaticTextures.mergeMergeHori.createSprite("mergehorizont16");
		mergeMergeHori[17] = StaticTextures.mergeMergeHori.createSprite("mergehorizont17");
		mergeMergeHori[18] = StaticTextures.mergeMergeHori.createSprite("mergehorizont18");
		mergeMergeHori[19] = StaticTextures.mergeMergeHori.createSprite("mergehorizont19");
		mergeMergeHori[20] = StaticTextures.mergeMergeHori.createSprite("mergehorizont20");
		mergeMergeHori[21] = StaticTextures.mergeMergeHori.createSprite("mergehorizont21");
		
		mergeMergeVerti = new Sprite[22];
		mergeMergeVerti[0] = StaticTextures.mergeMergeVerti.createSprite("mergevertical0");
		mergeMergeVerti[1] = StaticTextures.mergeMergeVerti.createSprite("mergevertical1");
		mergeMergeVerti[2] = StaticTextures.mergeMergeVerti.createSprite("mergevertical2");
		mergeMergeVerti[3] = StaticTextures.mergeMergeVerti.createSprite("mergevertical3");
		mergeMergeVerti[4] = StaticTextures.mergeMergeVerti.createSprite("mergevertical4");
		mergeMergeVerti[5] = StaticTextures.mergeMergeVerti.createSprite("mergevertical5");
		mergeMergeVerti[6] = StaticTextures.mergeMergeVerti.createSprite("mergevertical6");
		mergeMergeVerti[7] = StaticTextures.mergeMergeVerti.createSprite("mergevertical7");
		mergeMergeVerti[8] = StaticTextures.mergeMergeVerti.createSprite("mergevertical8");
		mergeMergeVerti[9] = StaticTextures.mergeMergeVerti.createSprite("mergevertical9");
		mergeMergeVerti[10] = StaticTextures.mergeMergeVerti.createSprite("mergevertical10");
		mergeMergeVerti[11] = StaticTextures.mergeMergeVerti.createSprite("mergevertical11");
		mergeMergeVerti[12] = StaticTextures.mergeMergeVerti.createSprite("mergevertical12");
		mergeMergeVerti[13] = StaticTextures.mergeMergeVerti.createSprite("mergevertical13");
		mergeMergeVerti[14] = StaticTextures.mergeMergeVerti.createSprite("mergevertical14");
		mergeMergeVerti[15] = StaticTextures.mergeMergeVerti.createSprite("mergevertical15");
		mergeMergeVerti[16] = StaticTextures.mergeMergeVerti.createSprite("mergevertical16");
		mergeMergeVerti[17] = StaticTextures.mergeMergeVerti.createSprite("mergevertical17");
		mergeMergeVerti[18] = StaticTextures.mergeMergeVerti.createSprite("mergevertical18");
		mergeMergeVerti[19] = StaticTextures.mergeMergeVerti.createSprite("mergevertical19");
		mergeMergeVerti[20] = StaticTextures.mergeMergeVerti.createSprite("mergevertical20");
		mergeMergeVerti[21] = StaticTextures.mergeMergeVerti.createSprite("mergevertical21");
		
		mergeLeft = new Sprite[21];
		mergeLeft[0] = StaticTextures.mergeBlocks.createSprite("mergeleft0");
		mergeLeft[1] = StaticTextures.mergeBlocks.createSprite("mergeleft1");
		mergeLeft[2] = StaticTextures.mergeBlocks.createSprite("mergeleft2");
		mergeLeft[3] = StaticTextures.mergeBlocks.createSprite("mergeleft3");
		mergeLeft[4] = StaticTextures.mergeBlocks.createSprite("mergeleft4");
		mergeLeft[5] = StaticTextures.mergeBlocks.createSprite("mergeleft5");
		mergeLeft[6] = StaticTextures.mergeBlocks.createSprite("mergeleft6");
		mergeLeft[7] = StaticTextures.mergeBlocks.createSprite("mergeleft7");
		mergeLeft[8] = StaticTextures.mergeBlocks.createSprite("mergeleft8");
		mergeLeft[9] = StaticTextures.mergeBlocks.createSprite("mergeleft9");
		mergeLeft[10] = StaticTextures.mergeBlocks.createSprite("mergeleft10");
		mergeLeft[11] = StaticTextures.mergeBlocks.createSprite("mergeleft11");
		mergeLeft[12] = StaticTextures.mergeBlocks.createSprite("mergeleft12");
		mergeLeft[13] = StaticTextures.mergeBlocks.createSprite("mergeleft13");
		mergeLeft[14] = StaticTextures.mergeBlocks.createSprite("mergeleft14");
		mergeLeft[15] = StaticTextures.mergeBlocks.createSprite("mergeleft15");
		mergeLeft[16] = StaticTextures.mergeBlocks.createSprite("mergeleft16");
		mergeLeft[17] = StaticTextures.mergeBlocks.createSprite("mergeleft17");
		mergeLeft[18] = StaticTextures.mergeBlocks.createSprite("mergeleft18");
		mergeLeft[19] = StaticTextures.mergeBlocks.createSprite("mergeleft19");
		mergeLeft[20] = StaticTextures.mergeBlocks.createSprite("mergeleft20");
		
		mergeRight = new Sprite[21];
		mergeRight[0] = StaticTextures.mergeBlocks.createSprite("mergeright0");
		mergeRight[1] = StaticTextures.mergeBlocks.createSprite("mergeright1");
		mergeRight[2] = StaticTextures.mergeBlocks.createSprite("mergeright2");
		mergeRight[3] = StaticTextures.mergeBlocks.createSprite("mergeright3");
		mergeRight[4] = StaticTextures.mergeBlocks.createSprite("mergeright4");
		mergeRight[5] = StaticTextures.mergeBlocks.createSprite("mergeright5");
		mergeRight[6] = StaticTextures.mergeBlocks.createSprite("mergeright6");
		mergeRight[7] = StaticTextures.mergeBlocks.createSprite("mergeright7");
		mergeRight[8] = StaticTextures.mergeBlocks.createSprite("mergeright8");
		mergeRight[9] = StaticTextures.mergeBlocks.createSprite("mergeright9");
		mergeRight[10] = StaticTextures.mergeBlocks.createSprite("mergeright10");
		mergeRight[11] = StaticTextures.mergeBlocks.createSprite("mergeright11");
		mergeRight[12] = StaticTextures.mergeBlocks.createSprite("mergeright12");
		mergeRight[13] = StaticTextures.mergeBlocks.createSprite("mergeright13");
		mergeRight[14] = StaticTextures.mergeBlocks.createSprite("mergeright14");
		mergeRight[15] = StaticTextures.mergeBlocks.createSprite("mergeright15");
		mergeRight[16] = StaticTextures.mergeBlocks.createSprite("mergeright16");
		mergeRight[17] = StaticTextures.mergeBlocks.createSprite("mergeright17");
		mergeRight[18] = StaticTextures.mergeBlocks.createSprite("mergeright18");
		mergeRight[19] = StaticTextures.mergeBlocks.createSprite("mergeright19");
		mergeRight[20] = StaticTextures.mergeBlocks.createSprite("mergeright20");
		
		mergeUp = new Sprite[14];
		mergeUp[0] = StaticTextures.mergeBlocks.createSprite("mergeup0");
		mergeUp[1] = StaticTextures.mergeBlocks.createSprite("mergeup1");
		mergeUp[2] = StaticTextures.mergeBlocks.createSprite("mergeup2");
		mergeUp[3] = StaticTextures.mergeBlocks.createSprite("mergeup3");
		mergeUp[4] = StaticTextures.mergeBlocks.createSprite("mergeup4");
		mergeUp[5] = StaticTextures.mergeBlocks.createSprite("mergeup5");
		mergeUp[6] = StaticTextures.mergeBlocks.createSprite("mergeup6");
		mergeUp[7] = StaticTextures.mergeBlocks.createSprite("mergeup7");
		mergeUp[8] = StaticTextures.mergeBlocks.createSprite("mergeup8");
		mergeUp[9] = StaticTextures.mergeBlocks.createSprite("mergeup9");
		mergeUp[10] = StaticTextures.mergeBlocks.createSprite("mergeup10");
		mergeUp[11] = StaticTextures.mergeBlocks.createSprite("mergeup11");
		mergeUp[12] = StaticTextures.mergeBlocks.createSprite("mergeup12");
		mergeUp[13] = StaticTextures.mergeBlocks.createSprite("mergeup13");
		
		mergeDown = new Sprite[15];
		mergeDown[0] = StaticTextures.mergeBlocks.createSprite("mergedown0");
		mergeDown[1] = StaticTextures.mergeBlocks.createSprite("mergedown1");
		mergeDown[2] = StaticTextures.mergeBlocks.createSprite("mergedown2");
		mergeDown[3] = StaticTextures.mergeBlocks.createSprite("mergedown3");
		mergeDown[4] = StaticTextures.mergeBlocks.createSprite("mergedown4");
		mergeDown[5] = StaticTextures.mergeBlocks.createSprite("mergedown5");
		mergeDown[6] = StaticTextures.mergeBlocks.createSprite("mergedown6");
		mergeDown[7] = StaticTextures.mergeBlocks.createSprite("mergedown7");
		mergeDown[8] = StaticTextures.mergeBlocks.createSprite("mergedown8");
		mergeDown[9] = StaticTextures.mergeBlocks.createSprite("mergedown9");
		mergeDown[10] = StaticTextures.mergeBlocks.createSprite("mergedown10");
		mergeDown[11] = StaticTextures.mergeBlocks.createSprite("mergedown11");
		mergeDown[12] = StaticTextures.mergeBlocks.createSprite("mergedown12");
		mergeDown[13] = StaticTextures.mergeBlocks.createSprite("mergedown13");
		mergeDown[14] = StaticTextures.mergeBlocks.createSprite("mergedown14");
		
		goal = new Sprite[5];
		goal[0] = StaticTextures.goals.createSprite("goal0");
		goal[1] = StaticTextures.goals.createSprite("goal1");
		goal[2] = StaticTextures.goals.createSprite("goal2");
		goal[3] = StaticTextures.goals.createSprite("goal3");
		goal[4] = StaticTextures.goals.createSprite("goal4");
		
		moveBlockBase = new Sprite(new Texture(Gdx.files.internal("data/block21.png")));
		
		beehive = new Sprite(new Texture(Gdx.files.internal("data/hive.png")));
		lamp = new Sprite(new Texture(Gdx.files.internal("data/lamp.png")));

		boulderBase = new Sprite(new Texture(Gdx.files.internal("data/btest.png")));
		// Terrain
		fillHole = new Sprite[7];
		fillHole[0] = StaticTextures.fillHole.createSprite("fillhole1");
		fillHole[1] = StaticTextures.fillHole.createSprite("fillhole1");
		fillHole[2] = StaticTextures.fillHole.createSprite("fillhole2");
		fillHole[3] = StaticTextures.fillHole.createSprite("fillhole3");
		fillHole[4] = StaticTextures.fillHole.createSprite("fillhole4");
		fillHole[5] = StaticTextures.fillHole.createSprite("fillhole5");
		fillHole[6] = StaticTextures.fillHole.createSprite("fillhole6");
		
		buttonpressed = new Sprite[5];
		buttonpressed[0] = StaticTextures.buttonsandpillars.createSprite("pushed1");
		buttonpressed[1] = StaticTextures.buttonsandpillars.createSprite("pushed2");
		buttonpressed[2] = StaticTextures.buttonsandpillars.createSprite("pushed3");
		buttonpressed[3] = StaticTextures.buttonsandpillars.createSprite("pushed4");
		buttonpressed[4] = StaticTextures.buttonsandpillars.createSprite("pushed5");
		
		bluebuttonpressed = new Sprite[5];
		bluebuttonpressed[0] = StaticTextures.buttonsandpillars.createSprite("pushedb1");
		bluebuttonpressed[1] = StaticTextures.buttonsandpillars.createSprite("pushedb2");
		bluebuttonpressed[2] = StaticTextures.buttonsandpillars.createSprite("pushedb3");
		bluebuttonpressed[3] = StaticTextures.buttonsandpillars.createSprite("pushedb4");
		bluebuttonpressed[4] = StaticTextures.buttonsandpillars.createSprite("pushedb5");
		
		pillar = new Sprite[4];
		pillar[0] = StaticTextures.buttonsandpillars.createSprite("pillar1");
		pillar[1] = StaticTextures.buttonsandpillars.createSprite("pillar2");
		pillar[2] = StaticTextures.buttonsandpillars.createSprite("pillar3");
		pillar[3] = StaticTextures.buttonsandpillars.createSprite("pillar4");
		
		bpillar = new Sprite[4];
		bpillar[0] = StaticTextures.buttonsandpillars.createSprite("pillarb1");
		bpillar[1] = StaticTextures.buttonsandpillars.createSprite("pillarb2");
		bpillar[2] = StaticTextures.buttonsandpillars.createSprite("pillarb3");
		bpillar[3] = StaticTextures.buttonsandpillars.createSprite("pillarb4");
		
		holeAnim = new Sprite[6];
		holeAnim[0] = new Sprite(new Texture(Gdx.files.internal("data/hole.png")));
		holeAnim[1] = StaticTextures.holeAnim.createSprite("hole1");
		holeAnim[2] = StaticTextures.holeAnim.createSprite("hole2");
		holeAnim[3] = StaticTextures.holeAnim.createSprite("hole3");
		holeAnim[4] = StaticTextures.holeAnim.createSprite("hole4");
		holeAnim[5] = StaticTextures.holeAnim.createSprite("hole5");

		dirtboulder = new Sprite[6];
		dirtboulder[0] = StaticTextures.dirt.createSprite("dirtboulder0");
		dirtboulder[1] = StaticTextures.dirt.createSprite("dirtboulder1");
		dirtboulder[2] = StaticTextures.dirt.createSprite("dirtboulder2");
		dirtboulder[3] = StaticTextures.dirt.createSprite("dirtboulder3");
		dirtboulder[4] = StaticTextures.dirt.createSprite("dirtboulder4");
		dirtboulder[5] = StaticTextures.dirt.createSprite("dirtboulder5");
		
		dirtboulderright = new Sprite[4];
		dirtboulderright[0] = StaticTextures.dirt.createSprite("dirtboulderright0");
		dirtboulderright[1] = StaticTextures.dirt.createSprite("dirtboulderright1");
		dirtboulderright[2] = StaticTextures.dirt.createSprite("dirtboulderright2");
		dirtboulderright[3] = StaticTextures.dirt.createSprite("dirtboulderright3");
		
		dirtboulderup = new Sprite[6];
		dirtboulderup[0] = StaticTextures.dirt.createSprite("dirtboulderup0");
		dirtboulderup[1] = StaticTextures.dirt.createSprite("dirtboulderup1");
		dirtboulderup[2] = StaticTextures.dirt.createSprite("dirtboulderup2");
		dirtboulderup[3] = StaticTextures.dirt.createSprite("dirtboulderup3");
		
		dirtboulderdown = new Sprite[3];
		dirtboulderdown[0] = StaticTextures.dirt.createSprite("dirtboulderdown0");
		dirtboulderdown[1] = StaticTextures.dirt.createSprite("dirtboulderdown1");
		dirtboulderdown[2] = StaticTextures.dirt.createSprite("dirtboulderdown2");
		
		dirtAnim = new Sprite[21];
		dirtAnim[0] = new Sprite(new Texture(Gdx.files.internal("data/dirt.png")));
		dirtAnim[1] = new Sprite(new Texture(Gdx.files.internal("data/dirtwithblock.png")));
		dirtAnim[2] = StaticTextures.dirtani.createSprite("pushblockdirt0");
		dirtAnim[3] = StaticTextures.dirtani.createSprite("pushblockdirt1");
		dirtAnim[4] = StaticTextures.dirtani.createSprite("pushblockdirt2");
		dirtAnim[5] = StaticTextures.dirtani.createSprite("pushblockdirt3");
		dirtAnim[6] = StaticTextures.dirtani.createSprite("pushblockdirt4");
		dirtAnim[7] = StaticTextures.dirtani.createSprite("pushblockdirt5");
		dirtAnim[8] = StaticTextures.dirtani.createSprite("pushblockdirt6");
		dirtAnim[9] = StaticTextures.dirtani.createSprite("pushblockdirt7");
		dirtAnim[10] = StaticTextures.dirtani.createSprite("pushblockdirt8");
		dirtAnim[11] = StaticTextures.dirtani.createSprite("pushblockdirt9");
		dirtAnim[12] = StaticTextures.dirtani.createSprite("pushblockdirt10");
		dirtAnim[13] = StaticTextures.dirtani.createSprite("pushblockdirt11");
		dirtAnim[14] = StaticTextures.dirtani.createSprite("pushblockdirt12");
		dirtAnim[15] = StaticTextures.dirtani.createSprite("pushblockdirt13");
		dirtAnim[16] = StaticTextures.dirtani.createSprite("pushblockdirt14");
		dirtAnim[17] = StaticTextures.dirtani.createSprite("pushblockdirt15");
		dirtAnim[18] = StaticTextures.dirtani.createSprite("pushblockdirt16");
		dirtAnim[19] = StaticTextures.dirtani.createSprite("pushblockdirt17");
		dirtAnim[20] = StaticTextures.dirtani.createSprite("pushblockdirt18");
		
		dirtAnimLeft = new Sprite[21];
		dirtAnimLeft[0] = new Sprite(new Texture(Gdx.files.internal("data/dirt.png")));
		dirtAnimLeft[1] = new Sprite(new Texture(Gdx.files.internal("data/dirtwithblock.png")));
		dirtAnimLeft[2] = StaticTextures.dirtani.createSprite("pushblockdirtleft0");
		dirtAnimLeft[3] = StaticTextures.dirtani.createSprite("pushblockdirtleft1");
		dirtAnimLeft[4] = StaticTextures.dirtani.createSprite("pushblockdirtleft2");
		dirtAnimLeft[5] = StaticTextures.dirtani.createSprite("pushblockdirtleft3");
		dirtAnimLeft[6] = StaticTextures.dirtani.createSprite("pushblockdirtleft4");
		dirtAnimLeft[7] = StaticTextures.dirtani.createSprite("pushblockdirtleft5");
		dirtAnimLeft[8] = StaticTextures.dirtani.createSprite("pushblockdirtleft6");
		dirtAnimLeft[9] = StaticTextures.dirtani.createSprite("pushblockdirtleft7");
		dirtAnimLeft[10] = StaticTextures.dirtani.createSprite("pushblockdirtleft8");
		dirtAnimLeft[11] = StaticTextures.dirtani.createSprite("pushblockdirtleft9");
		dirtAnimLeft[12] = StaticTextures.dirtani.createSprite("pushblockdirtleft10");
		dirtAnimLeft[13] = StaticTextures.dirtani.createSprite("pushblockdirtleft11");
		dirtAnimLeft[14] = StaticTextures.dirtani.createSprite("pushblockdirtleft12");
		dirtAnimLeft[15] = StaticTextures.dirtani.createSprite("pushblockdirtleft13");
		dirtAnimLeft[16] = StaticTextures.dirtani.createSprite("pushblockdirtleft14");
		dirtAnimLeft[17] = StaticTextures.dirtani.createSprite("pushblockdirtleft15");
		dirtAnimLeft[18] = StaticTextures.dirtani.createSprite("pushblockdirtleft16");
		dirtAnimLeft[19] = StaticTextures.dirtani.createSprite("pushblockdirtleft17");
		dirtAnimLeft[20] = StaticTextures.dirtani.createSprite("pushblockdirtleft18");
		
		dirtAnimDown = new Sprite[15];
		dirtAnimDown[0] = new Sprite(new Texture(Gdx.files.internal("data/dirt.png")));
		dirtAnimDown[1] = new Sprite(new Texture(Gdx.files.internal("data/dirtwithblock.png")));
		dirtAnimDown[2] = StaticTextures.dirtani.createSprite("pushblockdirtdown0");
		dirtAnimDown[3] = StaticTextures.dirtani.createSprite("pushblockdirtdown1");
		dirtAnimDown[4] = StaticTextures.dirtani.createSprite("pushblockdirtdown2");
		dirtAnimDown[5] = StaticTextures.dirtani.createSprite("pushblockdirtdown3");
		dirtAnimDown[6] = StaticTextures.dirtani.createSprite("pushblockdirtdown4");
		dirtAnimDown[7] = StaticTextures.dirtani.createSprite("pushblockdirtdown5");
		dirtAnimDown[8] = StaticTextures.dirtani.createSprite("pushblockdirtdown6");
		dirtAnimDown[9] = StaticTextures.dirtani.createSprite("pushblockdirtdown7");
		dirtAnimDown[10] = StaticTextures.dirtani.createSprite("pushblockdirtdown8");
		dirtAnimDown[11] = StaticTextures.dirtani.createSprite("pushblockdirtdown9");
		dirtAnimDown[12] = StaticTextures.dirtani.createSprite("pushblockdirtdown10");
		dirtAnimDown[13] = StaticTextures.dirtani.createSprite("pushblockdirtdown11");
		dirtAnimDown[14] = StaticTextures.dirtani.createSprite("pushblockdirtdown12");
		
		dirtAnimUp = new Sprite[16];
		dirtAnimUp[0] = new Sprite(new Texture(Gdx.files.internal("data/dirt.png")));
		dirtAnimUp[1] = new Sprite(new Texture(Gdx.files.internal("data/dirtwithblock.png")));
		dirtAnimUp[2] = StaticTextures.dirtani.createSprite("pushblockdirtup0");
		dirtAnimUp[3] = StaticTextures.dirtani.createSprite("pushblockdirtup1");
		dirtAnimUp[4] = StaticTextures.dirtani.createSprite("pushblockdirtup2");
		dirtAnimUp[5] = StaticTextures.dirtani.createSprite("pushblockdirtup3");
		dirtAnimUp[6] = StaticTextures.dirtani.createSprite("pushblockdirtup4");
		dirtAnimUp[7] = StaticTextures.dirtani.createSprite("pushblockdirtup5");
		dirtAnimUp[8] = StaticTextures.dirtani.createSprite("pushblockdirtup6");
		dirtAnimUp[9] = StaticTextures.dirtani.createSprite("pushblockdirtup7");
		dirtAnimUp[10] = StaticTextures.dirtani.createSprite("pushblockdirtup8");
		dirtAnimUp[11] = StaticTextures.dirtani.createSprite("pushblockdirtup9");
		dirtAnimUp[12] = StaticTextures.dirtani.createSprite("pushblockdirtup10");
		dirtAnimUp[13] = StaticTextures.dirtani.createSprite("pushblockdirtup11");
		dirtAnimUp[14] = StaticTextures.dirtani.createSprite("pushblockdirtup12");
		dirtAnimUp[15] = StaticTextures.dirtani.createSprite("pushblockdirtup13");
		
		dirt = new Sprite[4];
		dirt[0] = StaticTextures.dirt.createSprite("dirt");
		dirt[1] = StaticTextures.dirt.createSprite("dirt1");
		dirt[2] = StaticTextures.dirt.createSprite("dirt2");
		dirt[3] = StaticTextures.dirt.createSprite("dirt3");
		
		grass = new Sprite[3];
		grass[0] = StaticTextures.grass.createSprite("grass4");
		grass[1] = StaticTextures.grass.createSprite("grass5");
		grass[2] = StaticTextures.grass.createSprite("grass6");

		flower = new Sprite(new Texture(Gdx.files.internal("data/originalYellowFl.png")));

		dragDown = StaticTextures.mapEdit.createSprite("dragcol");
		dragRight = StaticTextures.mapEdit.createSprite("dragrow");
		dragDownS = StaticTextures.mapEdit.createSprite("dragcolselect");
		dragRightS = StaticTextures.mapEdit.createSprite("dragrowselect");
		addRow = StaticTextures.mapEdit.createSprite("addRow");
		removeRow = StaticTextures.mapEdit.createSprite("removeRow");
		
		// Main Menu
		levelNames = new Sprite[8];
		levelNames[0] = StaticTextures.levelSelect.createSprite("pushme");
		levelNames[1] = StaticTextures.levelSelect.createSprite("beeseverywhere");
		levelNames[2] = StaticTextures.levelSelect.createSprite("dirtymapisdirty");
		levelNames[3] = StaticTextures.levelSelect.createSprite("wheretostart");
		levelNames[4] = StaticTextures.levelSelect.createSprite("willitblend");
		levelNames[5] = StaticTextures.levelSelect.createSprite("bowlingkills");
		levelNames[6] = StaticTextures.levelSelect.createSprite("ifihadatower");
		levelNames[7] = StaticTextures.levelSelect.createSprite("umadbro");
		
		mainbg = new Sprite[6];
		mainbg[0] = new Sprite(new Texture(Gdx.files.internal("data/worldmap0.png")));
		mainbg[1] = new Sprite(new Texture(Gdx.files.internal("data/worldmap1.png")));
		mainbg[2] = new Sprite(new Texture(Gdx.files.internal("data/worldmap2.png")));
		mainbg[3] = new Sprite(new Texture(Gdx.files.internal("data/worldmap3.png")));
		mainbg[4] = new Sprite(new Texture(Gdx.files.internal("data/worldmap4.png")));
		mainbg[5] = new Sprite(new Texture(Gdx.files.internal("data/worldmap5.png")));
		mainmenuleveledit = StaticTextures.mainMenu.createSprite("mapeditorbut");
		mainskybg = new Sprite(new Texture(Gdx.files.internal("data/sky.png")));
		mainmenuclouds = new Sprite[3];
		mainmenuclouds[0] = new Sprite(new Texture(Gdx.files.internal("data/cloud1.png")));
		mainmenuclouds[1] = new Sprite(new Texture(Gdx.files.internal("data/cloud2.png")));
		mainmenuclouds[2] = new Sprite(new Texture(Gdx.files.internal("data/cloud3.png")));
		mainmenuclouds[2].setX(600);
		mainmenuplay = StaticTextures.mainMenu.createSprite("playbut");
		mainmenulevelselect = StaticTextures.mainMenu.createSprite("levelselectbut");
		mainmenucustomlevels = StaticTextures.mainMenu.createSprite("customlevelsbut");
		mainmenuexit = StaticTextures.mainMenu.createSprite("exitbut");
		title = StaticTextures.mainMenu.createSprite("greenhatman");
		mainhatman = new Sprite(new Texture(Gdx.files.internal("data/clouds/hatman.png")));
		mainhatman2 = new Sprite(new Texture(Gdx.files.internal("data/clouds/hatman2.png")));
		
		// ChooseBlockBrush
		cbbSprites = new Sprite[StaticVariables.amountOfBlockTypes];
		cbbSprites[StaticVariables.boulderVal] = StaticTextures.mapEdit.createSprite("bouldBut");
		cbbSprites[StaticVariables.moveVal] = StaticTextures.mapEdit.createSprite("moveBut");
		cbbSprites[StaticVariables.wallVal] = StaticTextures.mapEdit.createSprite("wallBut");
		cbbSprites[StaticVariables.reddoorVal] = StaticTextures.mapEdit.createSprite("reddoorBut");
		cbbSprites[StaticVariables.redkeyVal] = StaticTextures.mapEdit.createSprite("redkeyBut");
		cbbSprites[StaticVariables.eraserVal] = StaticTextures.mapEdit.createSprite("eraseBut");
		cbbSprites[StaticVariables.goalVal] = StaticTextures.mapEdit.createSprite("goalBut");
		cbbSprites[StaticVariables.bluekeyVal] = StaticTextures.mapEdit.createSprite("keybBut");
		cbbSprites[StaticVariables.bluedoorVal] = StaticTextures.mapEdit.createSprite("bdoorBut");
		cbbSprites[StaticVariables.yellowkeyVal] = StaticTextures.mapEdit.createSprite("keyyBut");
		cbbSprites[StaticVariables.yellowdoorVal] = StaticTextures.mapEdit.createSprite("ydoorBut");
		cbbSprites[StaticVariables.mergeVal] = StaticTextures.mapEdit.createSprite("mergeBut");
		
		
		// ChooseTerrainBrush
		ctbSprites = new Sprite[StaticVariables.amountOfTerrainTypes];
		ctbSprites[StaticVariables.grassVal] = StaticTextures.mapEdit.createSprite("grassBut");
		ctbSprites[StaticVariables.holeVal] = StaticTextures.mapEdit.createSprite("holeBut");
		ctbSprites[StaticVariables.dirtVal] = StaticTextures.mapEdit.createSprite("dirtBut");
		ctbSprites[StaticVariables.bluepillarVal] = StaticTextures.mapEdit.createSprite("pillarBBut");
		ctbSprites[StaticVariables.yellowbuttonVal] = StaticTextures.mapEdit.createSprite("buttonBut");
		ctbSprites[StaticVariables.yellowpillarVal] = StaticTextures.mapEdit.createSprite("pillarBut");
		ctbSprites[StaticVariables.bluebuttonVal] = StaticTextures.mapEdit.createSprite("buttonBBut");
		
		// MapEdito
		meTerrain = StaticTextures.mapEdit.createSprite("terrainbut");
		meBlocks = StaticTextures.mapEdit.createSprite("blocksbut");
		save = StaticTextures.mapEdit.createSprite("save");
		load = StaticTextures.mapEdit.createSprite("load");
		exit = StaticTextures.mapEdit.createSprite("exit");
		resize = StaticTextures.mapEdit.createSprite("resize");
		test = StaticTextures.mapEdit.createSprite("test");
		objects = StaticTextures.mapEdit.createSprite("blocksbut");
		terrain = StaticTextures.mapEdit.createSprite("terrainbut");
		
		
		// Viewbar
		wallEdges = StaticTextures.mapEdit.createSprite("wallEdges");
		ghmViewbar = StaticTextures.mapEdit.createSprite("GHM");
		
		
	
		// 	Lights
		whitePointLight = new Sprite(new Texture("data/bleh.png"));
	}
}

